package com.jsoft.test;

import com.jsoft.dao.UserEnterpriseDao;
import com.jsoft.dao.impl.UserEnterpriseDaoImpl;
import com.jsoft.entity.User;
import com.jsoft.entity.po.UserEnterprise;
import org.junit.Test;

/**
 * @author snkstart
 * @create 2023-02-21 13:48
 */
public class testUserEnterprise {

    private UserEnterpriseDao enterpriseDao = new UserEnterpriseDaoImpl();

    @Test
    public void testselectEnterpriseByUser() {

        try {
            UserEnterprise userEnterprise = enterpriseDao.selectEnterpriseByUser("aaa");
            System.out.println(userEnterprise);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
